package com.rfid.event;

public class ProgressEvent {

    public static final int TYPE_READ = 1;
    public static final int TYPE_WRITE = 2;
    public long total;
    public long current;
    public int type;
    public ProgressEvent(long total,long current,int type) {
        this.total = total;
        this.current = current;
        this.type = type;
    }

    @Override
    public String toString() {
        return "ProgressEvent{" +
                "total=" + total +
                ", current=" + current +
                ", type=" + type +
                '}';
    }
}
